package cn.edu.scau.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description: 登录对象
 * @author: yuxiang
 * @create: 2021-02-05 15:02
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LoginDto {

    @ApiModelProperty(value = "用户名",name = "username", example = "admin", required = true)
    private String username;

    @ApiModelProperty(value = "用户密码",name = "password", example = "123456", required = true)
    private String password;
}
